﻿using AutoMapper;
using ShineTech.Domain.Models.Kanbans;
using ShineTech.Domain.Models.Missons;
using ShineTech.Domain.Models.Users;
using ShineTech.Web.Kanbans;
using ShineTech.Web.Missons;
using ShineTech.Web.Users;

namespace ShineTech.Web.Helpers
{
    public class Mapping : Profile
    {
        public Mapping()
        {
            CreateMap<User, UserDTO>();
            CreateMap<UserDTO, User>();
            CreateMap<Kanban, KanbanDTO>();
            CreateMap<KanbanDTO, Kanban>();

            CreateMap<Misson, MissonDTO>();
            CreateMap<MissonDTO, Misson>();

            CreateMap<Share, ShareDTO>();



        }
    }
}
